package com.i_art_engineer.meigong.model;

import android.text.TextUtils;

import java.util.List;

/**
 * 文件夹
 */
public class PhotoFolder {

    public String name;
    public String path;
    public PhotoImage cover;
    public List<PhotoImage> images;

    @Override
    public boolean equals(Object o) {
        try {
            PhotoFolder other = (PhotoFolder) o;
            return TextUtils.equals(other.path, path);
        }catch (ClassCastException e){
            e.printStackTrace();
        }
        return super.equals(o);
    }

}